package com.demo.config.datasource.annotation;


import lombok.Getter;


/**
 * @author wangfengchen
 */
@Getter
public enum DynamicDSEnum {
  MASTER(1, "master"),
  SLAVE(2, "slave"),

  ;

  DynamicDSEnum(Integer code, String desc) {
    this.code = code;
    this.desc = desc;
  }

  private Integer code;

  private String desc;


}
